package com.fengplus.demo.service;

import com.fengplus.demo.entity.CommonResult;
import com.fengplus.demo.service.impl.FeignServiceFallbackImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "nacos-provider-service", fallback = FeignServiceFallbackImpl.class)
public interface FeignService {

    @GetMapping("/feign/a")
    CommonResult a();

    @GetMapping("/feign/b")
    CommonResult b();

    @GetMapping("/feign/c")
    CommonResult c();

}
